package com.ehotting.edsta.circuitDesign.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class FilterRangeData {

    private Label label;
    private Value value;

    public Label getLabel() {
        return label;
    }

    public void setLabel(Label label) {
        this.label = label;
    }

    public Value getValue() {
        return value;
    }

    public void setValue(Value value) {
        this.value = value;
    }

    public static class Label{
        
        private String pow = "功率"; // 最大功率
        
        private String area = "面积"; // 最大面积
        
        private String cost = "成本"; // 最高成本
        
        private String typeC = "存储器类型"; // 存储器类型
        
        private String modeC = "处理器型号"; // 处理器型号
        
//        private String time = "存储时间"; // 最长存储时间

        
        public String getPow() {
            return pow;
        }
        
        public void setPow(String pow) {
            this.pow = pow;
        }

        
        public String getArea() {
            return area;
        }
        
        public void setArea(String area) {
            this.area = area;
        }

        
        public String getCost() {
            return cost;
        }
        
        public void setCost(String cost) {
            this.cost = cost;
        }

        
        public String getTypeC() {
            return typeC;
        }
        
        public void setTypeC(String typeC) {
            this.typeC = typeC;
        }

        
        public String getModeC() {
            return modeC;
        }
        
        public void setModeC(String modeC) {
            this.modeC = modeC;
        }

        
//        public String getTime() {
//            return time;
//        }
//
//        public void setTime(String time) {
//            this.time = time;
//        }
    }

    public static class Value{
        
        private List<Data> pow; // 最大功率
        
        private List<Data> area; // 最大面积
        
        private List<Data> cost; // 最高成本


//        private List<Data> time; // 最长存储时间

        @JsonProperty("typeC")
        private List<String> typeC; // 存储器类型

        private List<String> modeC; // 处理器型号

        
        public List<Data> getPow() {
            return pow;
        }
        
        public void setPow(List<Data> pow) {
            this.pow = pow;
        }

        
        public List<Data> getArea() {
            return area;
        }
        
        public void setArea(List<Data> area) {
            this.area = area;
        }

        
        public List<Data> getCost() {
            return cost;
        }
        
        public void setCost(List<Data> cost) {
            this.cost = cost;
        }

        
        public List<String> getTypeC() {
            return typeC;
        }
        
        public void setTypeC(List<String> typeC) {
            this.typeC = typeC;
        }

        
        public List<String> getModeC() {
            return modeC;
        }
        
        public void setModeC(List<String> modeC) {
            this.modeC = modeC;
        }

        
//        public List<Data> getTime() {
//            return time;
//        }
//
//        public void setTime(List<Data> time) {
//            this.time = time;
//        }
    }

    public static class Data{
        private int code;
        private String name;

        public Data(int code, String name) {
            this.code = code;
            this.name = name;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }


}
